package com.frikinet.lifeguard.util;

import java.util.ArrayList;

public class Year extends ArrayList<Month>
{
	private static final long serialVersionUID = 1L;
	private int year;

	public Year(int year)
	{
		super();
		this.year = year;
		for(int month=1;month <= 12;month++)
		{
			add(new Month(year, month));
		}
	}
	
	public int getYear()
	{
		return year;
	}
}
